<template>
    <div>
      <div class="nav">
        <router-link to="/shezhi">
          <img src="../../assets/lyl/image/tuijian/BMQD-1.png" alt="">
        </router-link>
        <p>修改登录密码</p>
        <span @click="succes()">完成</span>
      </div>
      <ul>
        <li v-for="item in data">
          <span>{{item}}：</span>
          <input type="password" :placeholder="item">
        </li>
      </ul>
    </div>
</template>

<script>
    export default {
      name: "Xiupas",
      data(){
        return {
          data:['请输入原密码','请输入新密码','请确认新密码']
        }
      },
      methods:{
        succes(){
          alert('修改成功')
        }
      }
    }
</script>

<style scoped>
  .nav{
    background: #e53e42;
    padding: 3.5rem 2rem;
    display: flex;
    justify-content: space-between;
  }
  .nav a img{
    width: 2rem;
  }
  .nav p{
    font-size: 36px;
    color:#fff;
  }
  .nav span{
    font-size: 30px;
    line-height: 36px;
    color:#fff;
  }
  ul li{
    padding: 3rem 0 3rem 2rem;
    border-bottom: 1px solid #ccc;
  }
  ul li span{
    font-size: 2.8rem;
    line-height: 3.6rem;
  }
  ul li input{
    font-size: 2.4rem;
    vertical-align: bottom;
  }
</style>
